package cc.linker.steplink.crm.support.oauth;


import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * oauth配置
 */
@Configuration
public class StepLinkOauthConfiguration {
    
    @Bean("oauthProperties")
    public OauthProperties oauthProperties(){
        return new OauthProperties();
    }
    
//    @Bean("oauthController")
    public OauthController oauthController(){
        return new OauthController();
    }

    @Bean("getOrRefreshToken")
    public GetOrRefreshToken getOrRefreshToken(){
        return new GetOrRefreshToken();
    }
}
